/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.dto.order.issue;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 机票订单出票 Response DTO
 *
 * @author hesx
 */
@Data
@Schema(description = "管理后台 - 订单出票 Response VO")
public class AirOrderIssueRespDTO {

    @Schema(description = "出票结果", example = "true")
    private Boolean success;

    @Schema(description = "出票结果描述", example = "取消成功")
    private String message;

    @Schema(description = "订座PNR", example = "DSKLKK")
    private String pnr;

    @Schema(description = "预订office", example = "CAN121")
    private String bookOffice;

    @Schema(description = "出票office", example = "CAN138")
    private String issueOffice;

    @Schema(description = "编码状态", example = "HK")
    private String pnrStatus;

    @Schema(description = "航司PNR", example = "DSKLKK")
    private String bigPnr;

    @Schema(description = "出票时间", example = "2024-11-04 18:27:00")
    private LocalDateTime issueTime;

    @Schema(description = "pnr内容", example = "pnr内容")
    private String pnrContent;

    @Schema(description = "代理费 国内为金额，国际为费率（需除100）", example = "100")
    private BigDecimal agencyFee;

    @Schema(description = "航段信息")
    private List<AirOrderIssueRouteRespDTO> routes;

    @Schema(description = "乘客信息")
    private List<AirOrderIssuePassengerRespDTO> passengers;
}
